package com.repetition.repetition.controller;/**
 * @author wzj
 * @date 2020/4/28 10:45
 * @version 1.0
 */

import com.repetition.repetition.norepetition.NoRepeatSubmit;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * auther wzj
 * date 2020/4/28 10:45
 */
@Controller
@RestController
public class TestController {

    @RequestMapping("/test")
    @NoRepeatSubmit
    public String test() {
        return ("程序逻辑返回");
    }
}
